package utils

import "github.com/gin-gonic/gin"

func GetUserID(context *gin.Context) string {
	value, exists := context.Get("user_id")
	if !exists {
		return ""
	}
	return value.(string)
}
